<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
	<head>
		<meta charset='utf-8'/>
		<title>CSS Ribbon</title>
		<link href="./css/menu1.css" rel="stylesheet" type="text/css">
	</head>
	<style>
	/* body{
	background:url(./img/dark_wood.png) 0 0 repeat;
	} */
	</style>
	<body>
	
<%
	String menuID = (String)session.getAttribute("memberid"); // getAttribute의 반환형은 Object이므로 String으로 캐스팅
%>


		<div class='ribbon'>
<%
	// 로그인 정보가 기억되어 있는 세션정보를 취득

	if(menuID==null || menuID == ""){
%>
			<a href='#'><span>HTML5</span></a>
			<a href='#'><span>CSS</span></a>
			<a href='#'><span>JAVASCRIPT</span></a>
			<a href='#'><span>SURVEILLANCE</span></a>
			<a href='MyHome.jsp?inc_left=./board/boardlist.jsp'><span>게시판</span></a>
			<a href='MyHome.jsp?inc_content=./guest/list.jsp'><span>방명록</span></a>

<%} else {%>
			<a href='#'><span>HTML5</span></a>
			<a href='#'><span>CSS</span></a>
			<a href='#'><span>JAVASCRIPT</span></a>
			<a href='#'><span>SURVEILLANCE</span></a>
			<a href='MyHome.jsp?inc_left=./board/boardlist.jsp'><span>게시판</span></a>
			<a href='MyHome.jsp?inc_content=./guest/list.jsp'><span>방명록</span></a>
			<a href='MyHome.jsp?inc_left=./member/menu_member.jsp'><span>회원관리</span></a>
			<a href='MyHome.jsp?inc_left=./databank/download.jsp'><span>자료실</span></a>
			
<%} %>
		</div>


	</body>
</html>